package user;

import java.math.BigInteger;

import rsa.RSAKey;
import utils.StatesEnum;



public class User {

	private String username=null;
	private String password=null;
	private BigInteger generatedToken=null;
	private RSAKey publicKey=null;
	
	private StatesEnum loginStates = StatesEnum.s0;
	
	public String getUsername()
	{
		return this.username;
	}
	public void setUsername(String user)
	{
		this.username = user;
	}
	
	public String getPassword()
	{
		return this.password;
	}
	public void setPassword(String pwd)
	{
		this.password = pwd;
	}

	public StatesEnum getLoginState() {
		return loginStates;
	}

	public void setLoginState(StatesEnum loginStates) {
		this.loginStates = loginStates;
	}

	public BigInteger getGeneratedToken() {
		return generatedToken;
	}

	public void setGeneratedToken(BigInteger generatedToken) {
		this.generatedToken = generatedToken;
	}
	public RSAKey getPublicKey() {
		return publicKey;
	}
	public void setPublicKey(RSAKey publicKey) {
		this.publicKey = publicKey;
	}
}

